package com.pagoda.nerp.trade.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.apache.commons.lang.builder.ToStringBuilder;

import java.util.Date;

@JsonSerialize(include= JsonSerialize.Inclusion.NON_NULL)
public class MdFeedback {
    /**
     * 质检申请反馈ID
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 质检申请记录ID
     *
     * @mbg.generated
     */
    private Integer qualityRecordId;

    /**
     * 质检类型
            
            A 产地质检
            B 快递送检
     *
     * @mbg.generated
     */
    private String qualityType;

    /**
     * 检验机构代码
     *
     * @mbg.generated
     */
    private String testOrgCode;

    /**
     * 检验机构名称
     *
     * @mbg.generated
     */
    private String testOrgName;

    /**
     * 收货地址
     *
     * @mbg.generated
     */
    private String address;

    /**
     * 价格，单位：分
     *
     * @mbg.generated
     */
    private Long price;

    /**
     * 联系方式
     *
     * @mbg.generated
     */
    private String phoneNumber;

    /**
     * 检验人
     *
     * @mbg.generated
     */
    private String testUser;

    /**
     * 备注
     *
     * @mbg.generated
     */
    private String remark;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 修改时间
     *
     * @mbg.generated
     */
    private Date modifyTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getQualityRecordId() {
        return qualityRecordId;
    }

    public void setQualityRecordId(Integer qualityRecordId) {
        this.qualityRecordId = qualityRecordId;
    }

    public String getQualityType() {
        return qualityType;
    }

    public void setQualityType(String qualityType) {
        this.qualityType = qualityType == null ? null : qualityType.trim();
    }

    public String getTestOrgCode() {
        return testOrgCode;
    }

    public void setTestOrgCode(String testOrgCode) {
        this.testOrgCode = testOrgCode == null ? null : testOrgCode.trim();
    }

    public String getTestOrgName() {
        return testOrgName;
    }

    public void setTestOrgName(String testOrgName) {
        this.testOrgName = testOrgName == null ? null : testOrgName.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber == null ? null : phoneNumber.trim();
    }

    public String getTestUser() {
        return testUser;
    }

    public void setTestUser(String testUser) {
        this.testUser = testUser == null ? null : testUser.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }


    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}